package com.ruoyi.receive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领用管理对象 sys_sim_receive
 * 
 * @author laifolai
 * @date 2023-02-07
 */
public class SimReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领用ID */
    private Long receiveId;

    /** 领用人 */
    @Excel(name = "领用人")
    private String receiveUser;

    /** 领用状态 */
    @Excel(name = "领用状态")
    private Long receiveStatus;

    /** SIM卡 ICCID */
    @Excel(name = "SIM卡 ICCID")
    private String iccid;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    /** 申请ID */
    @Excel(name = "申请ID")
    private Long applyId;

    /** 审批ID */
    @Excel(name = "审批ID")
    private Long approvalId;

    /** 领用设备 */
    @Excel(name = "领用设备")
    private Long deviceId;

    public void setReceiveId(Long receiveId) 
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId() 
    {
        return receiveId;
    }
    public void setReceiveUser(String receiveUser) 
    {
        this.receiveUser = receiveUser;
    }

    public String getReceiveUser() 
    {
        return receiveUser;
    }
    public void setReceiveStatus(Long receiveStatus) 
    {
        this.receiveStatus = receiveStatus;
    }

    public Long getReceiveStatus() 
    {
        return receiveStatus;
    }
    public void setIccid(String iccid) 
    {
        this.iccid = iccid;
    }

    public String getIccid() 
    {
        return iccid;
    }
    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setApprovalId(Long approvalId) 
    {
        this.approvalId = approvalId;
    }

    public Long getApprovalId() 
    {
        return approvalId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveId", getReceiveId())
            .append("receiveUser", getReceiveUser())
            .append("receiveStatus", getReceiveStatus())
            .append("iccid", getIccid())
            .append("receiveTime", getReceiveTime())
            .append("applyId", getApplyId())
            .append("approvalId", getApprovalId())
            .append("deviceId", getDeviceId())
            .toString();
    }
}
